<template>
  <cm-popup ref="cmPopup" direction="bottom" :exist="exist">
    
    <cm-picker-head
      :col-names="colNames"
      @right-click="confirmClickhHandler"
      @left-click="cancelClickHandler"></cm-picker-head>
    
    <!-- 选择表 -->
    <cm-picker ref="popPicker"
      :cm-style="{ height: '260px' }"
      :values="values"
      :picker-data="pickerData"
      :indicator-style="indicatorStyle"
      @change="changeHandler">
    </cm-picker>
  </cm-popup>
</template>

<script src="./cm-picker-popup.js"></script>

<style lang="stylus">
@import './cm-picker-popup.styl'
</style>
